﻿using System.Collections;
using System.Collections.Generic;
using Amazon;
using Rezene.Web.Business.Amazon.Entities;

namespace Rezene.Web.Business.Amazon
{
    public interface IAmazonRepository
    {
        string AllowedExtensions { get; set; }
        bool Init(string amazonAccessKey, string amazonSecretKey, RegionEndpoint regionEndpoint, string bucketName);
        bool IsInitialized();
        IList<S3Gallery> GetGalleries(string folder);
        bool SavePhotoInfo(S3PhotoObject photoObject);
        S3PhotoObject GetPhotoInfo(string objectPath);
        bool SaveGalleryInfo(S3Gallery gallery);
        S3Gallery GetGalleryInfo(string galleryPath);
        IList<S3PhotoObject> GetPhotos(string galeryPath);
    }
}